package com.foreknow.demo10;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Test2 {
    public void m1() throws IOException {
        //这个方法中有可以会产生异常IOException
    }

    public void m2() throws IOException {
        m1();
    }

    public static void main(String[] args) throws IOException {
        Test2 test2 = new Test2();
//        test2.m2();
        FileReader fileReader = new FileReader("");
        fileReader.read();

    }
}
